﻿@model IEnumerable<EF.Models.Product>
@{
    ViewBag.Title = "ProductList";
}
<link href="~/Content/nn-styles.css" rel="stylesheet" />

<h2>Product List</h2>

@foreach (var prod in Model)
{
    <div class="box">
        <ul>
            <li class="name">@prod.Name</li>
            <li class="image">
                <a href="/Product/Detail/@prod.Id">
                    <img src="/Images/Products/@prod.Image">
                </a>
            </li>
            <li class="price">@prod.UnitPrice</li>
            <li class="actions">
                <img src="~/Images/icons/Letter.png" />
                <img src="~/Images/icons/Favourites.png" />
                <img src="~/Images/icons/Add%20to%20basket.png" />
            </li>
        </ul>
    </div>
}
